package second.impl;

import lombok.Setter;
import pojo.User;
import second.UserDAO;
import second.UserService;

/**
 * @author: ZhouBert
 * @date: 2020/7/26
 * @description:	测试用户自定义类型 Set 注入
 */
public class UserServiceImplByInjection implements UserService {

	@Setter
	UserDAO userDAO;


	@Override
	public void register(User user) {
		System.out.println("this is setted by xml file - register");
	}

	@Override
	public void login(String name, String password) {
		System.out.println("this is setted by xml file - login");
	}
}
